package com.qzsoft.system.modules.permission.deptJob.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * (SysUserDept)表实体类
 *
 * @author yzz
 * @since 2020-07-30 09:43:18
 */
@ApiModel(value = "")
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ToString
public class SysUserDeptDTO {
    private static final long serialVersionUID = 691026387156033983L;

    /**
     * 主键
     */
    @TableId(type = IdType.AUTO) //自增策略
    @ApiModelProperty(value = "主键")
    private String id;

    /**
     * userId
     */
    @ApiModelProperty(value = "userId")
    private Long userId;

    /**
     * username
     */
    @ApiModelProperty(value = "username")
    private String username;

    /**
     * deptId
     */
    @ApiModelProperty(value = "deptId")
    private String deptId;

    /**
     * deptName
     */
    @ApiModelProperty(value = "deptName")
    private String deptName;

    /**
     * deptCode
     */
    @ApiModelProperty(value = "deptCode")
    private String deptCode;

    /**
     * jobId
     */
    @ApiModelProperty(value = "jobId")
    private String jobId;

    /**
     * jobName
     */
    @ApiModelProperty(value = "jobName")
    private String jobName;

    /**
     * jobCode
     */
    @ApiModelProperty(value = "jobCode")
    private String jobCode;

    /**
     * hasMain
     */
    @ApiModelProperty(value = "hasMain")
    private Boolean hasMain;

    /**
     * sort
     */
    @ApiModelProperty(value = "sort")
    private Integer sort;

}
